@echo off
if exist C:\Windows\SysWOW64 (
    C:\Windows\SysWOW64\cscript.exe openAgentConsole.js
) else (
    cscript.exe openAgentConsole.js
)
pause